package com.rainng.coursesystem.repository;


import com.rainng.coursesystem.model.HomeworkItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.UUID;

@Repository
public interface HomeworkRepository extends JpaRepository<HomeworkItem, UUID> {

    List<HomeworkItem> findAllByCourseId(Long CourseId);


}
